<?php
defined("_VALID_ACCESS") || die('Direct access forbidden');
class Eyeworx_ContactLensPtntExpManager_RBO_ContactLensPtntExps extends RBO_Recordset {

    public function fields() {
        $fields = array();

        $name = new RBO_Field_Text('Patient', 50);
        $name->set_required()->set_visible();
        $fields[] = $name;

        $contactNum = new RBO_Field_Text('Contact Number', 50);
        $contactNum->set_visible();
        $fields[] = $contactNum;

        $solution = new RBO_Field_Text('Contact Lens', 50);
        $solution->set_visible();
        $fields[] = $solution;

        $purchased = new RBO_Field_Text('Date Purchased', 50);
        $purchased->set_required()->set_visible();
        $fields[] = $purchased;

        $exp = new RBO_Field_Text('Expiration Date', 50);
        $exp->set_required()->set_visible();
        $fields[] = $exp;

        return $fields;
    }

    public function table_name() {
        return 'eyeworx_contactlens_ptnt_exp';
    }
}

?>